﻿<%@ Page Title="" Language="C#" MasterPageFile="~/global.Master" AutoEventWireup="true" CodeBehind="ManagerStaff.aspx.cs" Inherits="Hospital.ManagerStaff" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="center">
        <div id="title">Danh sách nhân viên</div>
        <div>
            <asp:GridView ID="grvStaff" runat="server" AutoGenerateSelectButton="True" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" OnSelectedIndexChanged="grvStaff_SelectedIndexChanged" Width="100%">
                <AlternatingRowStyle BackColor="#F7F7F7" />
                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                <SortedAscendingCellStyle BackColor="#F4F4FD" />
                <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                <SortedDescendingCellStyle BackColor="#D8D8F0" />
                <SortedDescendingHeaderStyle BackColor="#3E3277" />
            </asp:GridView>
        </div>
        <div>
            <table class="table">
                <caption id="title">Thông tin nhân viên</caption>
            <tr>
                <td>Mã NV:</td>
                <td>
                    <asp:TextBox ID="txtId" runat="server" Enabled="false" Width="38px"></asp:TextBox>
                </td
            </tr>
            <tr>
                <td>Họ tên:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                </td>
                <td style="width:30px"></td>
                <td>Giới tính:</td>
                <td>
                    <asp:DropDownList ID="listGender" runat="server" Width="50px"></asp:DropDownList>
                </td>
            </tr>
                <tr>
                <td>Ngày sinh:</td>
                <td>
                    <asp:TextBox ID="txtBirth"  runat="server"></asp:TextBox>
                </td>
                <td></td>
                <td>Số điện thoại:</td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" ></asp:TextBox>
                </td>
            </tr>
                <tr>
                <td>Chức vụ:</td>
                <td>
                    <asp:DropDownList ID="listPosition" Width="100px" runat="server"></asp:DropDownList>
                </td>
                <td></td>
                <td>Mức lương hiện tại:</td>
                <td>
                    <asp:TextBox ID="txtSalary" runat="server" ></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Địa chỉ:</td>
                <td><asp:TextBox ID="txtAddress" runat="server" ></asp:TextBox></td>
            </tr>
            </table>
        </div>
        <div>
            <table class="table">
                <caption id="title">Trình độ chuyên môn</caption>
                <tr>
                    <td>Trình độ:</td>
                    <td>
                        <asp:TextBox ID="txtType" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Ngày cấp:</td>
                    <td>
                        <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Tổ chức:</td>
                    <td>
                        <asp:TextBox ID="txtInstitution" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <table class="table">
                <caption id="title">Kinh nghiệm làm việc</caption>
                <tr>
                    <td>Chức vụ:</td>
                    <td>
                        <asp:TextBox ID="txtPo" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Ngày bắt đầu:</td>
                    <td>
                        <asp:TextBox ID="txtStart" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Ngày kết thúc:</td>
                    <td>
                        <asp:TextBox ID="txtFinish" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Cơ quan:</td>
                    <td>
                        <asp:TextBox ID="txtOrganization" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div id="function">
            <asp:Button ID="btnInsert" runat="server" Text="Thêm nhân viên" OnClick="btnInsert_Click" Width="136px"></asp:Button>
            <asp:Button ID="btnDelete" runat="server" Text="Xóa" OnClick="btnDelete_Click"></asp:Button>
            <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" OnClick="btnUpdate_Click"></asp:Button>
            <asp:Button ID="txtReset" runat="server" Text="Làm mới" OnClick="txtReset_Click"></asp:Button>
        </div>
    </div>
</asp:Content>
